<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>7-对齐方式-img撑开不未设置高度的div出现间隙</title>
		<style type="text/css">
			*{
				margin:0;
				padding:0;
			}
			.box{
				width:600px;
				border:1px solid red;
			}
			img{
				vertical-align: bottom;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<img src="images/1.jpg" alt="">
		</div>
		
	</body>
</html>
